<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<base href="<%=request.getContextPath() %>/"/>
</head>
<body>
	<form action="employee/doAdd" method="post">
		<div>
			<p>
				<label>	员工姓名:</label>
				<input name="empName" type="text" size="30px" value=""/>
			</p>
			<p>
				<label>员工年龄:</label>
				<input name="empAge" type="text" size="30px" value=""/>
			</p>
			<p>
				<label>员工性别:</label>
				<input name="empSex" type="text" size="30px" value=""/>
			</p>
			<p>
				<label>员工电话:</label>
				<input name="empTel" type="text" size="30px" value=""/>
			</p>
			<p>
				<label>员工职位:</label>
				<select name="pos.posId" id="pos">
					<option value="">请选择:</option>
					<c:forEach var="pos" items="${list}">
						<option value="${pos.posId }">${pos.posName }  ${pos.posAge}</option>
					</c:forEach>
				</select>

			</p>
			<p>
				<input type="submit" value="提交"/>
				<input type="reset" value="取消"/>
			</p>
		</div>
	</form>
</body>
</html>